package com.kattomy.ssh.service.impl;

import java.util.List;

import com.kattomy.ssh.dao.DepartmentDao;
import com.kattomy.ssh.entities.Department;
import com.kattomy.ssh.service.DepartmentService;

public class DepartmentServiceImpl implements DepartmentService {

	private DepartmentDao departmentDao;
	
	public void setDepartmentDao(DepartmentDao departmentDao) {
		this.departmentDao = departmentDao;
	}
	
	@Override
	public List<Department> getAllDepartment() {
		return departmentDao.getAll();
	}

}
